<div class="main clearfix">
    <div class="Tabs clearfix">
        <ul class="clearfix">
            <li><a href="<?php echo Url::createUrl("appSmsKute/index");?>" class="active"><span>App Sms Kute</span></a></li>
            <li><a href="<?php echo Url::createUrl("iconSmsKute/index");?>"><span>Biểu tượng</span></a></li>            
            <li><a href="<?php echo Url::createUrl("iconSmsKute/category");?>"><span>Danh mục biểu tượng</span></a></li>
        </ul>                
    </div>
    
    <div class="box">
        <div class="fillter clearfix">
            <div class="fl">
                <label><strong>Tìm thấy </strong><strong class="clred">&nbsp;<?php echo count($sms);?>&nbsp;</strong>kết quả</label>
            </div>
            
        </div>
        <div class="table clearfix">
            <table width="100%" cellspacing="0" cellpadding="0" border="0">
                <tbody>
                    <tr class="bg-grey">
                        <td width="5%">STT</td>
                        <td width="15%"><strong>Tiêu đề</strong></td>                        
                        <td width="20%"><strong>Nội dung sms</strong></td>
                        <td width="5%"><strong>Giá</strong></td>                        
                        <td width="5%"><strong>Lượt tải</strong></td>                        
                    </tr>
                    
                    <?php foreach($sms as $i=>$row){ ?>
                    <tr>
                        <td class="middle"><?php echo $i + 1;?></td>
                        <td class="middle"><?php echo $row["title"];?></td>                        
                        <td class="middle">
                            <?php
                                $src = Common::getImage($row["id"] . "_app.jpg", "sms_cute/sms_upload", $row["create_date"]);
                            ?>
                            <img src="<?php echo $src;?>" />
                        </td>
                        <td class="middle"><?php echo Common::format_price($row["price"]);?></td>
                        <td class="middle"><?php echo Common::format_price($row["download"]);?></td>                        
                    </tr>
                    <?php }?>
                </tbody>
            </table>
        </div>        
    </div>
</div>